package com.coder4j.starter.tools.util;

import java.util.Collection;
import java.util.List;

public class ListUtils {
    public static boolean isEmpty(Collection list){
        return list == null || list.isEmpty();
    }

    public static boolean notEmpty(Collection list){
        return list != null && list.size() > 0;
    }
}
